<script>
  import LocalDAO from 'common/localDAO'
  export default {
    data(){
      return {}
    },
    methods: {
      jumpToRecords(){
        this.$router.push({
          path: '/records',
          query: {id: this.$route.query.gameId, userCode: LocalDAO.getUserCode(), type: '3'}
        })
      },
      jumpToTrade(){
        this.$router.push({path: '/trade/buyin', query: {gameId: this.$route.query.gameId}})
      }
    }
  }
</script>